﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Windows.Media.Imaging;
using System.IO;

namespace CalligraphyEditor.CalligraphyData
{
    public partial class T_Author
    {
        [DoNotSerialize]
        public Uri AuthorPhoto
        {            
            get
            {
                if ( T_Photo != null)
                {
                    return CalligraphyEditor.App.Entities.GetReadStreamUri(T_Photo);
                }

                return null;
            }
        }
        
    }
}
